package com.my.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.my.entity.Employee;
import com.my.entity.Page;
@Repository
public interface EmployeeMapperExt extends EmployeeMapper{

	Employee queryManagerEmployeeName(@Param("name") String name);

	Employee login(@Param("name") String name,
			@Param("password") String password);
	
	Employee queryByName(@Param("name") String name);
	
	
	List<Employee> queryForPage(@Param("page") Page page);

	int countQueryForPage();
	
	Employee queryDetailById(@Param("id")Long id);
	
	List<Employee> queryIsDeleteEmp();
}
